package com.situ.androidthreadtest;

/**
 * Created by Gao on 2021/12/21.
 */

public class MyRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println("MyRunnable.run");
    }

    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread thread = new Thread(myRunnable);
        thread.start();

        new Thread(new Runnable() {
            @Override
            public void run() {

            }
        }).start();
    }
}
